package tree

import "fmt"

//数据查询
type Query struct {
	data []interface{}
}

func (q *Query) ToString() string {

	s := ""
	for _, item := range q.data {
		s += fmt.Sprintf("%x", item)

	}

	return s
}

func (q *Query) ToDataSlice() []interface{} {
	return q.data
}

func NewQuery() *Query {

	return new(Query)
}
